cmake_path(GET CMAKE_CURRENT_SOURCE_DIR STEM ModuleName)
project(${ModuleName})

add_library(${PROJECT_NAME} INTERFACE)

target_include_directories(${PROJECT_NAME}
        INTERFACE include
)

string(TOUPPER ${PROJECT_NAME}_MODULE_LIB ModuleExport)
target_compile_definitions(${PROJECT_NAME}
        INTERFACE "${ModuleExport}"
)

target_link_libraries(${PROJECT_NAME}
        INTERFACE Qt5::Core
        INTERFACE Qt5::Widgets
)
